package com.ocom.common.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * 区域信息
 * */
@Data
public class AreaListDto implements Serializable {
    private static final long serialVersionUID = -4583484007118850556L;
    private Long comId;
    private  String regionName;
    private  Long regionId;
    @JsonProperty("areaName")
    @NotBlank(message = "区域名称 不能为空")
    private  String areaName;
    private  Long areaId;
    private  Integer userNumber;
    private  Integer faceNumber=0;
    private  Integer machineNumber;
    private List<MachineListDto> machineList;

    private String userName;
    private Integer indoorState;
    private Integer outdoorState;
}
